Function at 0x423860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50e402
mov eax, dword fs:[0]
push eax
sub esp, 0xd1c
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0xd18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0xd30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd40]
mov eax, dword [esp + 0xd44]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov esi, ecx
cmp dword [ebp + 0x10], ebx
je 0x424156
cmp dword [ebp + 0x1c], ebx
je 0x424156
cmp dword [esi + 4], ebx
je 0x424156
call fcn.0040a6b0
test eax, eax
je 0x424156
lea edi, [esp + 0x304]
call fcn.004023d0
mov dword [esp + 0xd38], ebx
call fcn.0040a6b0
mov ecx, edi
push ecx
call fcn.0040fba0
lea eax, [esp + 0x308]
cmp byte [esp + 0x416], bl
jne 0x423910
mov eax, dword [esp + 0x410]
add eax, 4
push eax
lea ecx, [esp + 0x1e0]
call fcn.00439010
push 0x51f14c
push 0x51f1f4
lea edx, [esp + 0x1e4]
call fcn.00439710
add esp, 8
cmp byte [esi + 0x11c], 0
je 0x423947
add esi, 0xc
jmp 0x42394a
mov esi, dword [esi + 8]
add esi, 4
push esi
push 0x51f1f4
lea edx, [esp + 0x1e4]
call fcn.00439710
push str..json
push 0x51f1f4
lea edx, [esp + 0x1ec]
call fcn.00439710
add esp, 0x10
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xd38], 2
cmp dword [ebp + 0x20], 1
jne 0x423b8b
lea edx, [esp + 0x34]
push edx
push 0x1fff8
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], fcn.004cc39d
mov dword [esp + 0x40], fcn.004ce4c2
mov dword [esp + 0x44], fcn.004cc2c0
call fcn.004027e0
push 1
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x1ec]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea edi, [esp + 0x34]
call fcn.00439670
lea ecx, [esp + 0xc4]
mov esi, eax
call fcn.00438f20
mov eax, esi
lea edx, [esp + 0xc4]
call fcn.00439130
sub esp, 0x124
mov esi, esp
mov ecx, esi
mov dword [esp + 0x17c], esp
call fcn.00438f20
cmp byte [esp + 0x304], 0
lea eax, [esp + 0x1f4]
jne 0x423a31
mov eax, dword [esp + 0x1f0]
add eax, 4
mov edx, esi
call fcn.00439130
mov edx, dword [esp + 0x150]
mov ecx, edi
mov byte [esp + 0xe6c], 5
call fcn.0042d910
add esp, 0x134
test al, al
lea ecx, [esp + 0xb4]
sete bl
mov byte [esp + 0xd38], 3
call fcn.00439080
test bl, bl
je 0x423ad0
mov esi, ebp
call fcn.00424230
mov ecx, dword [esp + 0x1c]
push str.GetDataBufFromFile_Fail
call fcn.00402790
mov byte [esp + 0xd38], 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
lea edi, [esp + 0x28]
mov byte [esp + 0xd38], 1
call fcn.00482570
lea ecx, [esp + 0x1dc]
call fcn.00439080
lea eax, [esp + 0x304]
call fcn.00402520
jmp 0x42415d
lea esi, [esp + 0xb0c]
call fcn.00443a70
mov ecx, dword [esp + 0x20]
mov edx, esi
push edx
call fcn.00443ca0
mov esi, eax
mov dword [esp + 0x24], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423af1
sub eax, edx
push eax
push esi
lea eax, [esp + 0x30]
call fcn.00482360
test al, al
jne 0x423b6e
push esi
call fcn.004cc2c0
add esp, 4
mov esi, ebp
call fcn.00424230
mov ecx, dword [esp + 0x1c]
push 0x522ba8
call fcn.00402790
mov byte [esp + 0xd38], 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
lea edi, [esp + 0x28]
mov byte [esp + 0xd38], 1
call fcn.00482570
lea ecx, [esp + 0x1dc]
call fcn.00439080
lea eax, [esp + 0x304]
call fcn.00402520
jmp 0x42415d
mov byte [esp + 0xd38], 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
xor ebx, ebx
jmp 0x423ba7
lea eax, [esp + 0x1dc]
call fcn.00439670
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.004821b0
test al, al
je 0x423bd1
lea ecx, [esp + 0x20]
lea eax, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00482550
mov edi, dword [esp + 0x20]
cmp edi, ebx
jne 0x423beb
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423bd1
push eax
call fcn.004cc2c0
add esp, 4
mov esi, ebp
call fcn.00424230
mov ecx, dword [esp + 0x1c]
push 0x522ba8
call fcn.00402790
jmp 0x423aa2
mov ecx, edi
call fcn.004c8850
mov esi, eax
mov dword [esp + 0x48], esi
cmp esi, ebx
jne 0x423c27
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423c0d
push eax
call fcn.004cc2c0
add esp, 4
mov esi, ebp
call fcn.00424230
mov ecx, dword [esp + 0x1c]
push str.nDataSize
call fcn.00402790
jmp 0x423aa2
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423c57
cmp dword [ebp + 0x20], 2
push ebx
push esi
jne 0x423c48
mov eax, dword [ebp + 0x1c]
push 0xce22
push eax
jmp 0x423c51
mov ecx, dword [ebp + 0x1c]
push 0xce20
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x9e4]
call fcn.00438f20
xor eax, eax
cmp esi, ebx
mov byte [esp + 0xd38], 0xc
mov dword [esp + 0x30], eax
jle 0x42410c
jmp 0x423c84
mov edi, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.004c8ad0
push eax
lea ecx, [esp + 0x38]
call fcn.004c7f60
lea ecx, [esp + 0x544]
call fcn.00438f20
push str.pkgid
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0xe
call fcn.004c8af0
push eax
lea ecx, [esp + 0x68]
call fcn.004c7f60
lea edx, [esp + 0x544]
lea ecx, [esp + 0x64]
mov byte [esp + 0xd38], 0xf
call fcn.004825a0
lea ecx, [esp + 0x41c]
call fcn.00438f20
push str.itemid
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0x10
call fcn.004c8af0
push eax
lea ecx, [esp + 0x98]
call fcn.004c7f60
lea edx, [esp + 0x41c]
lea ecx, [esp + 0x94]
mov byte [esp + 0xd38], 0x11
call fcn.004825a0
lea ecx, [esp + 0x8bc]
call fcn.00438f20
push str.weight
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0x12
call fcn.004c8af0
push eax
lea ecx, [esp + 0x78]
call fcn.004c7f60
lea edx, [esp + 0x8bc]
lea ecx, [esp + 0x74]
mov byte [esp + 0xd38], 0x13
call fcn.004825a0
lea ecx, [esp + 0x66c]
call fcn.00438f20
push 0x522d84
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0x14
call fcn.004c8af0
push eax
lea ecx, [esp + 0x88]
call fcn.004c7f60
lea edx, [esp + 0x66c]
lea ecx, [esp + 0x84]
mov byte [esp + 0xd38], 0x15
call fcn.004825a0
lea eax, [esp + 0x544]
mov byte [esp + 0x1b], 1
call fcn.00439670
push eax
call fcn.004cf7cd
mov edi, eax
add esp, 4
lea eax, [esp + 0x41c]
call fcn.00439670
push eax
call fcn.004cf7cd
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x9e4]
call fcn.004390b0
lea edx, [esp + 0x1b]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x670]
push eax
lea ecx, [esp + 0x424]
push ecx
push edx
lea ecx, [esp + 0x9f4]
lea edx, [esp + 0x554]
call fcn.0042cae0
add esp, 0x10
test al, al
je 0x423e8f
cmp byte [esp + 0x1b], 0
je 0x423e8f
mov edx, dword [ebp + 0x20]
xor ecx, ecx
xor esi, esi
sub edx, 1
mov eax, 0xce21
je 0x423e79
sub edx, 1
je 0x423e5e
sub edx, 1
jne 0x423e7d
push esi
push ecx
mov eax, 0xce25
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42406c
mov esi, ebx
push esi
mov ecx, edi
push ecx
mov eax, 0xce23
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42406c
mov ecx, dword [esp + 0x30]
push esi
push ecx
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42406c
lea ecx, [esp + 0xb4]
call fcn.00438f20
push 0x522d40
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0x16
call fcn.004c8af0
push eax
lea ecx, [esp + 0x50]
call fcn.004c7f60
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd38], 0x17
call fcn.004825a0
lea ecx, [esp + 0xb0c]
call fcn.00438f20
push str.keywords
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], 0x18
call fcn.004c8af0
push eax
lea ecx, [esp + 0xa8]
call fcn.004c7f60
lea edx, [esp + 0xb0c]
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd38], 0x19
call fcn.004825a0
cmp dword [esp + 0x548], 0
je 0x42402f
cmp dword [esp + 0x420], 0
je 0x42402f
cmp dword [esp + 0xb8], 0
je 0x42402f
lea ecx, [esp + 0x794]
call fcn.00438f20
lea ecx, [esp + 0x544]
mov byte [esp + 0xd38], 0x1a
call fcn.00439650
lea esi, [esp + 0x794]
call fcn.00439630
mov eax, 0x51fe30
call fcn.00439630
lea ecx, [esp + 0x41c]
call fcn.00439650
call fcn.00439630
call fcn.0040a6b0
push 6
lea ecx, [esp + 0xb8]
call fcn.00439650
mov ecx, esi
mov ebx, eax
call fcn.00439650
mov ecx, dword [esp + 0x20]
push ecx
mov edi, eax
call fcn.004115c0
mov esi, eax
test esi, esi
je 0x424023
mov edx, dword [esp + 0x670]
push edx
lea eax, [esp + 0x670]
call fcn.00439670
push eax
lea eax, [esi + 0x448]
push 0x103
push eax
call fcn.004ce857
mov eax, dword [ebp + 0x1c]
cdq
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x20]
add esp, 0x10
mov dword [esi + 0x24], ecx
mov dword [esi + 8], edx
call fcn.0040a6b0
mov edi, dword [esp + 0x1c]
push esi
mov esi, 6
call fcn.00411550
test al, al
je 0x424023
call fcn.00421790
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x794]
call fcn.00439080
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd38], 0x18
call fcn.004c8200
lea ecx, [esp + 0xb0c]
call fcn.00439080
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd38], 0x16
call fcn.004c8200
lea ecx, [esp + 0xb4]
call fcn.00439080
lea ecx, [esp + 0x84]
mov byte [esp + 0xd38], 0x14
call fcn.004c8200
lea ecx, [esp + 0x66c]
call fcn.00439080
lea ecx, [esp + 0x74]
mov byte [esp + 0xd38], 0x12
call fcn.004c8200
lea ecx, [esp + 0x8bc]
call fcn.00439080
lea ecx, [esp + 0x94]
mov byte [esp + 0xd38], 0x10
call fcn.004c8200
lea ecx, [esp + 0x41c]
call fcn.00439080
lea ecx, [esp + 0x64]
mov byte [esp + 0xd38], 0xe
call fcn.004c8200
lea ecx, [esp + 0x544]
call fcn.00439080
lea ecx, [esp + 0x34]
mov byte [esp + 0xd38], 0xc
call fcn.004c8200
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
jl 0x423c80
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42411d
push eax
call fcn.004cc2c0
add esp, 4
lea ecx, [esp + 0x9e4]
call fcn.00439080
lea edi, [esp + 0x28]
mov byte [esp + 0xd38], 1
call fcn.00482570
lea ecx, [esp + 0x1dc]
call fcn.00439080
lea eax, [esp + 0x304]
call fcn.00402520
mov al, 1
jmp 0x42415f
mov esi, ebp
call fcn.00424230
xor al, al
mov ecx, dword [esp + 0xd30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd18]
xor ecx, esp
call fcn.004cc2b1
add esp, 0xd28
ret 8