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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff50
mov edi, edx
xor edx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov esi, dword [edi]
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x34]
mov ebp, dword [eax]
cmp byte [ebp + 0x38], 0
je 0x56ad78
jmp 0x56b554
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
mov edx, dword [edi + 4]
mov dword [esp + 8], edx
mov ebx, dword [esi]
mov eax, dword [ebx + 8]
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.0056a214
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
xor ecx, ecx
mov cl, byte [ebx]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x30], 0x48
jne 0x56adf3
movzx ecx, word [ebx + 2]
and ecx, 0x800
cmp ecx, 0x800
jne 0x56addd
mov eax, dword [ebx + 0x10]
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.0056a300
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
jmp 0x56ae1e
mov ecx, dword [ebx + 0x10]
push ecx
mov eax, dword [esp + 0xc]
push eax
call fcn.0056a2b0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
jmp 0x56ae1e
cmp dword [esp + 0x30], 0x49
jne 0x56ae0a
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
jmp 0x56ae1e
mov edx, dword [ebx + 0xc]
push edx
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0056a214
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
push ebx
mov eax, dword [esp + 0xc]
push eax
call fcn.0056a214
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
movzx edx, word [ebx + 2]
and edx, 1
dec edx
jne 0x56ae78
movsx ecx, word [ebx + 0x20]
push ecx
mov eax, dword [esp + 0xc]
push eax
call fcn.0056a1d0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
or dword [esp + 0x14], eax
or dword [esp + 0x18], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub eax, 1
sbb edx, 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x24], ecx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov word [esi + 0x10], 0
mov eax, dword [esp + 0x30]
call fcn.0056a3d8
test eax, eax
je 0x56b02d
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
and eax, dword [esp + 0xc]
and edx, dword [esp + 0x10]
cmp edx, 0
jne 0x56aec1
cmp eax, 0
jne 0x56b02d
mov eax, dword [ebx + 8]
call fcn.005700e0
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
call fcn.005700e0
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x98
jne 0x56af11
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x18]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x40]
movsx ecx, word [edx + 0x1c]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x30]
call fcn.0056a460
mov word [esi + 0x10], ax
cmp dword [esp + 0x44], 0
je 0x56b11e
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x98
jne 0x56b11e
cmp dword [esi + 8], 0
jl 0x56afa5
xor ecx, ecx
mov edx, ebx
mov eax, ebp
call fcn.00570cf0
mov dword [esp + 0x4c], eax
cmp byte [ebp + 0x38], 0
je 0x56af5b
mov edx, dword [esp + 0x4c]
mov eax, ebp
call fcn.0057098c
jmp 0x56b554
mov cl, 3
mov edx, dword [esp + 0x4c]
mov eax, edi
call fcn.0056a0d8
test eax, eax
je 0x56b554
mov ecx, dword [edi + 0x20]
mov esi, eax
shl esi, 3
lea esi, [esi + esi*4]
add ecx, esi
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 4]
mov dword [eax + 4], edx
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
mov byte [esi + 0x13], 1
or byte [esi + 0x12], 8
jmp 0x56afad
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
call fcn.0056a3f8
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
call fcn.005700e0
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov ecx, dword [edx + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
movsx ecx, word [edx + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
or edx, dword [esp + 0x20]
or eax, dword [esp + 0x1c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
xor eax, eax
mov edx, dword [esp + 0x4c]
mov al, byte [edx]
call fcn.0056a460
mov edx, dword [esp + 0x48]
mov word [edx + 0x10], ax
jmp 0x56b11e
xor ecx, ecx
mov cl, byte [ebx]
cmp ecx, 0x47
jne 0x56b0f8
xor ecx, ecx
mov cl, byte [edi + 0x14]
cmp ecx, 0x45
jne 0x56b0f8
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0xac], str.PN1_.0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 8]
lea ecx, [ecx + ecx*4]
mov eax, ebp
mov edx, dword [edx + ecx*4]
xor ecx, ecx
call fcn.00570cf0
push eax
push 0
xor ecx, ecx
mov edx, dword [ebx + 8]
mov eax, ebp
call fcn.00570cf0
mov ecx, eax
mov eax, dword [esp + 0xb4]
xor edx, edx
mov dl, byte [eax]
mov eax, dword [esp + 0x3c]
call fcn.0057061c
mov cl, 3
mov edx, eax
mov eax, edi
call fcn.0056a0d8
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
mov edx, edi
mov eax, dword [esp]
call fcn.0056ad2c
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x58]
shl edx, 3
mov eax, dword [edi + 0x20]
mov esi, eax
lea ecx, [ecx + ecx*4]
lea edx, [edx + edx*4]
add esi, edx
mov edx, dword [esp + 4]
mov dword [eax + ecx*8 + 4], edx
inc dword [esp + 0x54]
inc dword [esp + 0xac]
cmp dword [esp + 0x54], 2
jl 0x56b060
mov byte [esi + 0x13], 2
jmp 0x56b11e
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x44
jne 0x56b11e
mov ecx, dword [esp + 4]
mov edx, edi
mov eax, dword [esp]
call fcn.0056a854
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
xor edx, edx
mov dl, byte [edi + 0x14]
cmp edx, 0x45
jne 0x56b2cb
lea ecx, [esp + 0x28]
mov edx, ebx
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x3c]
call fcn.0056a5e8
test eax, eax
je 0x56b2cb
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 8]
xor ecx, ecx
mov edx, dword [eax + 0x14]
mov eax, ebp
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
call fcn.00570cf0
mov dword [esp + 0x60], eax
cmp byte [ebp + 0x38], 0
jne 0x56b1c6
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
call fcn.00590cc4
mov edx, dword [esp + 0x60]
add eax, dword [edx + 4]
dec eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x78]
mov al, byte [ecx]
mov byte [esp + 0x74], al
cmp dword [esp + 0x2c], 0
je 0x56b1bb
xor edx, edx
mov dl, byte [esp + 0x74]
cmp edx, 0x40
jne 0x56b1ab
xor ecx, ecx
mov dword [esp + 0x28], ecx
xor eax, eax
mov al, byte [esp + 0x74]
mov dl, byte [eax + 0x62e1f0]
mov byte [esp + 0x74], dl
mov eax, dword [esp + 0x78]
mov cl, byte [esp + 0x74]
inc ecx
mov byte [eax], cl
cmp dword [esp + 0x2c], 0
je 0x56b1d4
mov edx, str.NOCASE
jmp 0x56b1d9
mov edx, str.BINARY
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 6
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov eax, ebp
call fcn.00570cf0
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x74]
mov edx, esi
mov eax, dword [esp + 0x3c]
call fcn.00570088
mov ecx, eax
mov edx, 0x50
mov eax, dword [esp + 0x3c]
call fcn.0057061c
mov esi, eax
mov cl, 3
mov edx, esi
mov eax, edi
call fcn.0056a0d8
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x64]
mov edx, edi
mov eax, dword [esp]
call fcn.0056ad2c
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov eax, ebp
call fcn.00570cf0
mov esi, eax
mov eax, dword [esp + 0x60]
push eax
push 0
lea ecx, [esp + 0x74]
mov edx, esi
mov eax, dword [esp + 0x3c]
call fcn.00570088
mov ecx, eax
mov edx, 0x4f
mov eax, dword [esp + 0x3c]
call fcn.0057061c
mov esi, eax
mov cl, 3
mov edx, esi
mov eax, edi
call fcn.0056a0d8
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov edx, edi
mov eax, dword [esp]
call fcn.0056ad2c
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
cmp dword [esp + 0x28], 0
je 0x56b2cb
mov edx, dword [esp + 0x64]
lea edx, [edx + edx*4]
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 4]
mov dword [ecx + edx*8 + 4], eax
mov edx, dword [esp + 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 4]
mov dword [ecx + edx*8 + 4], eax
mov byte [esi + 0x13], 2
mov eax, ebx
call fcn.0056a7ec
test eax, eax
je 0x56b444
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x80], ecx
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x80]
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.0056a214
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x84]
push ecx
mov eax, dword [esp + 0xc]
push eax
call fcn.0056a214
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
and eax, dword [esp + 0x8c]
and edx, dword [esp + 0x90]
cmp edx, 0
jne 0x56b444
cmp eax, 0
jne 0x56b444
xor ecx, ecx
mov edx, dword [esp + 0x80]
mov eax, ebp
call fcn.00570cf0
push eax
push 0
xor ecx, ecx
mov edx, 0x32
mov eax, dword [esp + 0x3c]
call fcn.0057061c
mov dword [esp + 0x9c], eax
mov cl, 3
mov edx, dword [esp + 0x9c]
mov eax, edi
call fcn.0056a0d8
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + 0x20]
shl eax, 3
lea eax, [eax + eax*4]
add ecx, eax
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x94]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 0x1c], eax
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov ecx, dword [edx + 0x18]
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
movsx edx, word [eax + 0x1c]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x88]
mov word [ecx + 0x10], 0x40
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 4]
mov dword [eax + 4], edx
mov eax, dword [esp + 4]
mov esi, dword [edi + 0x20]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
mov byte [esi + 0x13], 1
or byte [esi + 0x12], 8
mov edx, dword [esp + 0x88]
mov ecx, dword [esi + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, dword [esi + 0x24]
mov dword [edx + 0x24], ecx
xor ecx, ecx
mov cl, byte [ebx]
cmp ecx, 0x4a
jne 0x56b546
mov eax, dword [ebx + 8]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x98
jne 0x56b546
mov ecx, dword [ebx + 8]
cmp word [ecx + 0x1c], 0
jl 0x56b546
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [esp + 0xa4], eax
push 0
push 0
mov edx, 0x62
mov eax, dword [esp + 0x3c]
call fcn.0057061c
push eax
push 0
xor ecx, ecx
mov edx, dword [esp + 0xac]
mov eax, ebp
call fcn.00570cf0
mov ecx, eax
mov edx, 0x4d
mov eax, dword [esp + 0x3c]
call fcn.0057061c
mov dword [esp + 0xa0], eax
mov cl, 0x83
mov edx, dword [esp + 0xa0]
mov eax, edi
call fcn.0056a0d8
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
je 0x56b546
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0xa8]
shl eax, 3
lea eax, [eax + eax*4]
add ecx, eax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x18]
mov dword [ecx + 8], ebx
mov eax, dword [esp + 0xa4]
movsx edx, word [eax + 0x1c]
mov dword [ecx + 0xc], edx
mov word [ecx + 0x10], 4
mov ebx, dword [esp + 4]
mov dword [ecx + 4], ebx
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*4]
add esi, eax
mov byte [esi + 0x13], 1
or byte [esi + 0x12], 8
mov edx, dword [esi + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [esi + 0x24]
mov dword [ecx + 0x24], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
or dword [esi + 0x18], eax
or dword [esi + 0x1c], edx
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret